package org.springframework.security.oauth2.provider.authentication;

import javax.servlet.http.HttpServletRequest;

import org.springframework.security.authentication.AuthenticationDetailsSource;

@Deprecated
public class OAuth2AuthenticationDetailsSource implements AuthenticationDetailsSource<HttpServletRequest, OAuth2AuthenticationDetails> {

	public OAuth2AuthenticationDetails buildDetails(HttpServletRequest context) {
		return new OAuth2AuthenticationDetails(context);
	}
}
